package com.ilia.leek.fund.eastmoney;

import com.dtflys.forest.annotation.Get;
import com.dtflys.forest.annotation.Header;
import com.dtflys.forest.annotation.Query;
import com.dtflys.forest.http.ForestResponse;

import java.util.Map;

/**
 * @author Alice on 2022/7/19
 * @version 1.0
 * @since 1.0
 */
public interface EastmoneyHttpClient {

    @Get("{0}")
    ForestResponse<String> fundzRealTime(String url);

    @Get(url = "{0}")
    ForestResponse<String> fundAllCompany(String url, @Query("_") Long time, @Header Map<String, String> header);
}
